package response

// 成功与失败的返回
const (
	SUCCESS = 200
	ERROR   = 100
)

const (
	OPERA_SUCCESS  = "OPERA_SUCCESS"
	SEARCH_SUCCESS = "SEARCH_SUCCESS"
	OPERA_FAIL     = "OPERA_FAIL"
	SEARCH_FAIL    = "SEARCH_FAIL"
	SYSTEM_FAIL    = "SYSTEM_FAIL"
)

var HttpBaseTag = map[string]string{
	OPERA_SUCCESS:  "操作成功",
	SEARCH_SUCCESS: "查询成功",
	OPERA_FAIL:     "操作失败",
	SEARCH_FAIL:    "搜索失败",
	SYSTEM_FAIL:    "系统错误",
}
